package cn.jsc.org.domain;

import cn.jsc.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data //相当于配置get set hashcode equals tostring
public class Shop extends BaseDomain {
    //名称
    private String name;
    //电话
    private String tel;
    //注册时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime=new Date();
    //状态 0 待审核 1 已审核  -1 驳回  2 待激活
    private Integer state;
    //地址
    private String address;
    //loge
    private String logo;
    //店铺管理员id
    private Long admin_id;
    //关联对象 店铺管理员
    private Employee admin;
}
